package com.starblink.web.bean

import com.google.gson.Gson

data class JsBridgeBean<T>(
    var data:T?=null,
    var error:String?="",
    var time:Long=System.currentTimeMillis()
)

data class JsBridgeReqBean<T>(
    var items:T?=null, //collectProductListV2 cancelCollectProductListV2
    var wishlistId:String="", //collectProductListV2
    var navPop:Boolean=false, //tryBack
    var show:Boolean=false, //showTitleBar
    var dark:Boolean=false, //statusBarDark
    var urlLink:String="",//appShare
    var storeId:String="", //updateStoreSubscribeState
    var subOrNot:Int,//updateStoreSubscribeState
    var route:String="",//toAppNamed
    var off:Boolean=false,//toAppNamed 是否关闭之前页面
    var parameters:HashMap<String,String>,//toAppNamed
    var WebPages:List<String>?=null, //accWebPages
    var productId:String="",//addCollectedProductToBoard
    var type:Int,//addCollectedProductToBoard
    var mainImg:String="",//addCollectedProductToBoard
    var preSpm:String="",//easterActivityPopUp
)